package oboe.math;

import oboe.core.RenderSettings;

import flash.Vector;

class DynamicFrame extends Frame
{
private var tris:Vector<Triangle3D>;
private var needsZSort:Bool;

public function new( triangleCount:Int )
{
	this.needsZSort = true;
	if( triangleCount )
	{
	tris = new Vector<Triangle3D>( triangleCount, true );
	for( var i:Int=0; i<triangleCount; ++i )
	{
		var tri:Triangle3D = new Triangle3D();
		tris[i] = tri;
	}
	}
	super( null, null, null );
}
}